package cn.tedu.charging.device.dao.repository;

import cn.tedu.charging.device.pojo.po.ChargingGunInfoPO;
import cn.tedu.charging.device.pojo.po.ChargingPileInfoPO;
import cn.tedu.charging.device.pojo.po.StationPO;

import java.util.List;

public interface DeviceRepository {
    Boolean updateGunStatus(ChargingGunInfoPO chargingGunInfoPO);


    ChargingGunInfoPO selectFromGunInfo(Integer gunId);

    ChargingPileInfoPO selectFromPile(Integer pileId);

    StationPO selectFromStation(Integer stationId);

    List<StationPO> getAllStation();


}
